KnitPay\Gateways\IntegrationOAuthClient A

Total Complexity 74
Dependencies 6
Dependents 0
Total lines 547
Lines of code 336
Logical lines of code 175
Comment lines 110
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
refresh_access_token()
A
44 12 46
update_connection_status()
A
45 12 40
schedule_next_refresh_access_token()
S
53 6 22
save_post()
S
57 6 17
save_token()
S
54 5 19
get_settings_fields()
S
56 5 18
init_oauth_connect()
S
50 3 30
connection_status_box()
S
55 3 17
setup()
S
59 2 14
get_oauth_connect_button_fields()
S
52 1 27
get_gateway()
S
62 2 12
get_oauth_connection_status_fields()
S
56 1 18
inc_refresh_token_fail_counter()
S
66 2 8
is_auth_basic_enabled()
S
75 2 4
__construct()
S
76 1 4
is_oauth_connected()
S
80 1 3
is_auth_basic_connected()
S
82 1 3
is_mode_changed()
S
82 1 3
redirect_to_config()
S
76 1 4
create_basic_connection()
S
83 1 3
configure_webhook()
S
82 1 3
allowed_redirect_hosts()
S
77 1 4
clear_config()
S
71 1 5
get_config()
S
70 1 6
payment_provider_url()
S
82 1 3
show_remaining_setting_fields()
S
82 1 3